package com.newsmanagement.dao;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.Map;

/**
 * @author xbr
 * 2017/12/5
 * 文件操作
 */
@Mapper
public interface IFileServiceDao {

    /**
     * 上传文件信息的保存
     * @param fileTitle 标题
     * @param filePath 路径
     */
    @Insert("INSERT INTO upload_file_t(FILE_TITLE,FILE_PATH) VALUES (#{arg0},#{arg1})")
    void addFile(String fileTitle ,String filePath);



}
